home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
vbdb
/
gfilebox.bas
< prev
next >
Wrap
BASIC Source File
|
1995-09-06
|
786b
|
36 lines
'
'Code for Visual Basic 1.0 and Windows 3.0
'(C)1991 Marquis Computing. All Rights Reserved.
'
'File Dialog box manager. Uses Windows system calls to increase
'speed and give a dialog box that dosen't have "visual basic"
'stamped all over it!
'
'For use with GFILEBOX.FRM
'
DefInt A-Z
Sub LoadFile (fspec$, msg$, FileName$)
'
'Loads a file browsing box
'
Screen.MousePointer = 11
Load GetFileBox
Screen.MousePointer = 0
GetFileBox.FileSpec.Text = fspec$
GetFileBox.Caption = msg$
GetFileBox.Show 1
Path$ = GetFileBox.Path.Caption + "\" 'read path
FileName$ = GetFileBox.FileSpec.Text 'read DBF name
FileName$ = UCase$(Path$ + FileName$)
Unload GetFileBox
End Sub